package com.crm.custinfo.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同管理对象 cust_contract_info
 * 
 * @author ruoyi
 * @date 2024-03-23
 */
public class CustContractInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String custName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNo;

    /** 合同照片 */
    @Excel(name = "合同照片")
    private String contractImage;

    /** 签约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签约时间")
    private String signTime;

    /** 费率% */
    @Excel(name = "费率%")
    private BigDecimal loanRate;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 顾问id */
    @Excel(name = "顾问id")
    private Long empId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long orgId;

    /** 顾问 */
    @Excel(name = "顾问")
    private String empName;

    /** 部门 */
    @Excel(name = "部门")
    private String orgName;

    /** 部门 */
    @Excel(name = "ids")
    private Long[] orgIds;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustName(String custName) 
    {
        this.custName = custName;
    }

    public String getCustName() 
    {
        return custName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setContractImage(String contractImage) 
    {
        this.contractImage = contractImage;
    }

    public String getContractImage() 
    {
        return contractImage;
    }
    public void setSignTime(String signTime)
    {
        this.signTime = signTime;
    }

    public String getSignTime()
    {
        return signTime;
    }
    public void setLoanRate(BigDecimal loanRate) 
    {
        this.loanRate = loanRate;
    }

    public BigDecimal getLoanRate() 
    {
        return loanRate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setEmpId(Long empId) 
    {
        this.empId = empId;
    }

    public Long getEmpId() 
    {
        return empId;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("custName", getCustName())
            .append("mobile", getMobile())
            .append("contractNo", getContractNo())
            .append("contractImage", getContractImage())
            .append("signTime", getSignTime())
            .append("loanRate", getLoanRate())
            .append("address", getAddress())
            .append("empId", getEmpId())
            .append("orgId", getOrgId())
            .append("empName", getEmpName())
            .append("orgName", getOrgName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Long[] getOrgIds() {
        return orgIds;
    }

    public void setOrgIds(Long[] orgIds) {
        this.orgIds = orgIds;
    }
}
